﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.mssql
{
	// Token: 0x0200016E RID: 366
	public class TMssqlDenyStmt : TCustomSqlStatement
	{
		// Token: 0x06000CB7 RID: 3255 RVA: 0x00307C88 File Offset: 0x00305E88
		public TMssqlDenyStmt(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstmssqldeny;
		}

		// Token: 0x06000CB8 RID: 3256 RVA: 0x00307C9C File Offset: 0x00305E9C
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			return 0;
		}

		// Token: 0x06000CB9 RID: 3257 RVA: 0x00307CA9 File Offset: 0x00305EA9
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000CBA RID: 3258 RVA: 0x00307CB9 File Offset: 0x00305EB9
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
